package BuilderPattern;

public class ProductCar {
    private String Engine;

    private String Gearbox;

    private String BodyStructure;

    @Override
    public String toString(){
        return "Engine："+getEngine()+"，Gearbox："+getGearbox()+"，BodyStructure：" +getBodyStructure();
    }


    public String getEngine() {
        return Engine;
    }

    public void setEngine(String Engine) {
        this.Engine = Engine;
    }

    public String getGearbox() {
        return Gearbox;
    }

    public void setGearbox(String Gearbox) {
        this.Gearbox= Gearbox;
    }

    public String getBodyStructure() {
        return BodyStructure;
    }

    public void setBodyStructure(String BodyStructure) {
        this.BodyStructure = BodyStructure;
    }
}
